<?php

defined('SYSPATH') or die('No direct script access.');

class Controller_Frontend_Images extends Controller_Frontend {

    public function action_index() 
    {
        $images = ORM::factory('image')->find_all();

        $content = View::factory('frontend/images/v_images_index', array(
            'auth_user' => $this->auth->get_user(),
            'images' => $images
        ));

        $this->template->content = $content;
        $this->template->title_page = __('Photos');
    }
    
}

